const crypto/cipher.gcmStandardNonceSize
16 uses
crypto/cipher (current package)
gcm.go#L19: gcmStandardNonceSize = 12
gcm.go#L34: return newGCM(cipher, gcmStandardNonceSize, gcmTagSize)
gcm.go#L63: return newGCM(cipher, gcmStandardNonceSize, tagSize)
gcm.go#L98: g, err := gcm.New(c, gcmStandardNonceSize, gcmTagSize)
gcm.go#L114: return gcmStandardNonceSize + gcmTagSize
gcm.go#L122: ret, out := sliceForAppend(dst, gcmStandardNonceSize+len(plaintext)+gcmTagSize)
gcm.go#L129: nonce = out[:gcmStandardNonceSize]
gcm.go#L130: ciphertext := out[gcmStandardNonceSize:]
gcm.go#L168: if len(ciphertext) < gcmStandardNonceSize+gcmTagSize {
gcm.go#L172: ret, out := sliceForAppend(dst, len(ciphertext)-gcmStandardNonceSize-gcmTagSize)
gcm.go#L184: nonce = make([]byte, gcmStandardNonceSize)
gcm.go#L186: copy(out[:len(ciphertext)], ciphertext[gcmStandardNonceSize:])
gcm.go#L187: ciphertext = out[:len(ciphertext)-gcmStandardNonceSize]
gcm.go#L189: nonce = ciphertext[:gcmStandardNonceSize]
gcm.go#L190: ciphertext = ciphertext[gcmStandardNonceSize:]
gcm.go#L323: if len(nonce) == gcmStandardNonceSize {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |